Skip to content

Conversation

FRASTM
Copy link
Contributor

@FRASTM FRASTM commented Jul 18, 2025

This PR is introducing the stm32 MSPI controller driver for stm32 series.
On the stm32h573i_dk disco kit where the external flash is the mx25lm51245 ; "jedec,mspi-nor" compatible
the mspi node is the xspi instance which is "st,stm32-mspi-controller"; compatible

--> new version of the #78186

  • SPI/STR async transfer
  • OPI/STR async transfer
  • OPI/DTR : not supported yet
  • DMA transfer: not supported yet (flash_mspi_command_set has MSPI_PIO)

Using the samples/drivers/mspi/mspi_flash to test the access to the stm32 MSPi controller
with an overlay file taht can re-define the xspi1 node to be "st,stm32-mspi-controller" compatible. That will avoid disturbing existing stm32h562 and stm32h573 board configuration (DTSi unchanged)

Add a stm32 compatible driver for MSPI controllers based on
stm32 XSPI peripheral.

Signed-off-by: Francois Ramu <[email protected]>
FRASTM added 2 commits July 18, 2025 14:22
Introduce a stm32 MSPI controller driver based on the xspi peripheral
of stm32 mcus. A new CONFIG_MSPI_STM32 is defined for this.
Supports SPI/OPI and STR (DTR mode is not supported yet).

Signed-off-by: Francois Ramu <[email protected]>
Declare the xspi node of the stm32h573i_dk node
to be MSPI "st,stm32-mspi-controller"compatible
when running the samples/drivers/mspi/

Signed-off-by: Francois Ramu <[email protected]>
Copy link

Copy link

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions bot added the Stale label Sep 17, 2025
@FRASTM
Copy link
Contributor Author

FRASTM commented Sep 24, 2025

to be reworked later (end of 2025)

@github-actions github-actions bot removed the Stale label Sep 25, 2025
@FRASTM
Copy link
Contributor Author

FRASTM commented Sep 30, 2025

The #96670 will cover this work

@FRASTM FRASTM closed this Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant